package com.xinjie.coursesystem.pojo;

/**
 * @Description: 教师 （工号、姓名、性别、年龄、工资、账号、密码）
 * @author: xinjie.txt
 * @date: 2020/7/22  8:47
 */
public class Teacher {
	/**
	 * teaJobNumber -- 工号
	 * teaName -- 姓名
	 * teaGender -- 性别
	 * teaAge -- 年龄
	 * teaSalary -- 工资
	 * teaAccount --- 账号
	 * teaPassword -- 密码
	 */
	private String teaJobId;
	private String teaName;
	private String teaGender;
	private int teaAge;
	private double teaSalary;
	private String teaAccount;
	private String teaPassword;

	public String getTeaJobNumber() {
		return teaJobId;
	}

	public void setTeaJobNumber(String teaJobNumber) {
		this.teaJobId = teaJobNumber;
	}

	public String getTeaName() {
		return teaName;
	}

	public void setTeaName(String teaName) {
		this.teaName = teaName;
	}

	public String getTeaGender() {
		return teaGender;
	}

	public void setTeaGender(String teaGender) {
		this.teaGender = teaGender;
	}

	public int getTeaAge() {
		return teaAge;
	}

	public void setTeaAge(int teaAge) {
		this.teaAge = teaAge;
	}

	public double getTeaSalary() {
		return teaSalary;
	}

	public void setTeaSalary(double teaSalary) {
		this.teaSalary = teaSalary;
	}

	public String getTeaAccount() {
		return teaAccount;
	}

	public void setTeaAccount(String teaAccount) {
		this.teaAccount = teaAccount;
	}

	public String getTeaPassword() {
		return teaPassword;
	}

	public void setTeaPassword(String teaPassword) {
		this.teaPassword = teaPassword;
	}

	/**
	 * 无参构造器
	 */
	public Teacher() {
	}

	/**
	 * 全参构造器
	 */
	public Teacher(String teaJobId, String teaName, String teaGender, int teaAge, double teaSalary, String teaAccount, String teaPassword) {
		this.teaJobId = teaJobId;
		this.teaName = teaName;
		this.teaGender = teaGender;
		this.teaAge = teaAge;
		this.teaSalary = teaSalary;
		this.teaAccount = teaAccount;
		this.teaPassword = teaPassword;
	}

	@Override
	public String toString() {
		return "Teacher{" +
				"teaJobId='" + teaJobId + '\'' +
				", teaName='" + teaName + '\'' +
				", teaGender='" + teaGender + '\'' +
				", teaAge=" + teaAge +
				", teaSalary=" + teaSalary +
				", teaAccount='" + teaAccount + '\'' +
				", teaPassword='" + teaPassword + '\'' +
				'}';
	}
}
